export const question: IRouter1 = {
  name: "题库",
  query: {
    limit: 20,
    offset: 0,
    order: "ID"
  }
}
export const questionbank: IRouter1 = {
  name: "题单", // 专题
  query: {
    limit: 20,
    offset: 0,
    order: "top"
  }
}
export const task: IRouter1 = {
  name: "任务",
  query: {}
}
export const activity: IRouter1 = {
  name: "竞赛",
  query: {
    limit: 20,
    offset: 0,
    order: "ID"
  }
}
export const assessment: IRouter1 = {
  name: "评测",
  query: {}
}
export const cloudClass: IRouter1 = {
  name: "云课堂",
  query: {}
}

// ===old===
export const article: IRouter1 = {
  name: "动态",
  query: {
    limit: 20,
    offset: 0,
    order: "ID"
  }
}
export const user: IRouter1 = {
  name: "用户",
}
export interface IRouter1 {
  name: string,
  query?: {
    limit?: number,
    offset?: number
    order?: string
  }
}